#pragma once
#include "FlyStrategy.h"

class CBird
{
public:
    CBird();
    ~CBird();
	virtual void fly();
	virtual void quack() = 0;
	virtual void right();
protected:
	void setFlyStrategy(IFlyStrategy * flyStrategy);
	const IFlyStrategy * getFlyStrategy() const;
private:
	IFlyStrategy * m_flyStrategy;
};
